package com.noble.meether.ui.auth.bean;

import com.noble.library.base.bean.BaseData;

import org.json.JSONObject;

/**
 * Created by Su on 2018/8/6.
 */
public class Auth extends BaseData{
    private String authTitle;   // 权限Title
    private String authExplain; // 权限说明


    @Override
    public void parseJson(String jsonStr) {
        JSONObject jsonObject = getJsonObject(jsonStr);
        this.authTitle = jsonObject.optString("Title");
        this.authExplain = jsonObject.optString("Explain");
    }

    public String getAuthTitle() {
        return authTitle;
    }

    public String getAuthExplain() {
        return authExplain;
    }
}
